package com.haoqizhe.kernel.mybatisplus.apiscanner.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Primary;

/**
 * @author haoqizhe.li
 * @date 2018/11/2
 **/
@Data
@ConfigurationProperties(prefix = "api.scanner")
@Primary
public class ApiScannerProperties {
    /**
     * 需要过滤掉不记录日志的url
     */
    private String ignoreUrls;
    /**
     * 消息日志发送的MQ地址，queue类型
     */
    private String destinationName;


    public ApiScannerProperties(){
        this.destinationName = "SYSTEM.Q.SYSINTERFACE";
    }
}
